package org.sun.log_manager_study.modules.user.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.sun.log_manager_study.modules.user.entity.User;

import java.util.List;

@Mapper
public interface UserMapper {
    void insertBatch(@Param("list") List<User> users);

    void insertUser(@Param("user") User user);
}